package com.panshi.hujin2.httpcrawler.enumtype;

/**
 * 银行类别信息及邮件过滤规则
 * @Author: wangxl
 * @Date: 2018/11/27 14:19
 */
public enum BankTypeEnum {
    /**
     * CAIXA
     */
    CAIXA(0,"CAIXA","",""),

    /**
     * ITAU
     */
    //ITAU(1,"ITAU","itaucard@itau-unibanco.com.br","Fatura Eletrônica"),
    ITAU(1,"ITAU","wangxiliang123@outlook.com","Itaú"),

    /**
     * SANTANDER
     */
    //SANTANDER(2,"SANTANDER","faturaporemail@santander.com.br","Fatura por e-mail"),
    SANTANDER(2,"SANTANDER","wangxiliang123@outlook.com","santander"),

    /**
     * BRADESCO
     */
    BRADESCO(3,"BRADESCO","",""),

    /**
     * nubank
     */
    NUBANK(4,"NUBANK","",""),

    ;

    private int type;
    private String name;
    private String emailSender;
    private String titleKeyword;

    BankTypeEnum(int type, String name, String emailSender, String titleKeyword) {
        this.type = type;
        this.name = name;
        this.emailSender = emailSender;
        this.titleKeyword = titleKeyword;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmailSender() {
        return emailSender;
    }

    public void setEmailSender(String emailSender) {
        this.emailSender = emailSender;
    }

    public String getTitleKeyword() {
        return titleKeyword;
    }

    public void setTitleKeyword(String titleKeyword) {
        this.titleKeyword = titleKeyword;
    }
}
